<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page  isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    

	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css" />

<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/jquery-ui-1.10.3.custom.min.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/jquery.gritter.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/select2.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/bootstrap-editable.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/ace.min.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/ace-rtl.min.css" />

    <link href="<%=request.getContextPath()%>/assets/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
	<script src="assets/js/jquery-1.10.2.js"></script>
	<script  type="text/script" src="<%=request.getContextPath()%>/js/bootstrap.min.js" ></script>
	  </head>
  

<body style="    background-color: #fff;">
	<div class="page-content">
		<div class="page-header">
			<h1>
				订单详情<small> <i class="icon-double-angle-right"></i>
				</small>
			</h1>
		</div>
		<!-- /.page-header -->
		<div class="row">
			<div class="col-xs-12">
				<div>
					<div id="user-profile-1" class="user-profile row">

						<div class="col-xs-12 col-sm-9">

							<div class="space-12"></div>

							<div class="profile-user-info profile-user-info-striped">
								<div class="profile-info-row">
									<div class="profile-info-name">订单号</div>

									<div class="profile-info-value">
										<span class="editable" id="id">${order.id}</span>
									</div>
								</div>
								<div class="profile-info-row">
									<div class="profile-info-name">检查项目编号</div>

									<div class="profile-info-value">
										<span class="editable" id="checkId">${order.checkId}</span>
									</div>
								</div>
								<div class="profile-info-row">
									<div class="profile-info-name">订单状态</div>

									<div class="profile-info-value">
										
										<c:if test="${order.status == 0 }">
											<span class="label label-sm label-warning" id="status">
											手机端发布订单</span>
										</c:if>
										<c:if test="${order.status == 1 }">
											<span class="label label-sm label-warning" id="status">
											检查机构接单</span>
										</c:if>
										<c:if test="${order.status == 2 }">
											<span class="label label-sm label-success" id="status">
											取回样品</span>
										</c:if>
										<c:if test="${order.status == 3 }">
											<span class="label label-sm label-danger" id="status">
											检验完成</span>
										</c:if>
										
									</div>
								</div>		
								<div class="profile-info-row">
									<div class="profile-info-name">项目名称</div>

									<div class="profile-info-value">
										<span class="editable" id="name">${order.name}</span>
									</div>
								</div>	
								<div class="profile-info-row">
									<div class="profile-info-name">发单机构</div>

									<div class="profile-info-value">
										<span class="editable" id="institutionName">${order.institutionName}</span>
									</div>
								</div>
								<div class="profile-info-row">
									<div class="profile-info-name">数量</div>

									<div class="profile-info-value">
										<span class="editable" id="number">${order.number}</span>
									</div>
								</div>					
								<div class="profile-info-row">
									<div class="profile-info-name">发布时间</div>

									<div class="profile-info-value">
										<span class="editable" id="time">
										<fmt:formatDate value="${order.time}" pattern="yyyy-MM-dd HH:mm:ss"/>
										</span>
									</div>
								</div>
								
								<div class="profile-info-row">
									
									<div class="profile-info-name">金额</div>

									<div class="profile-info-value">
										<span class="editable" id="money">${order.money}</span>
										
									</div>
								</div>
								
								
								

							<div class="space-20"></div>
								<div class="clearfix form-actions">
											&nbsp; &nbsp; &nbsp;
											<button class="btn" type="reset" onclick="window.location.href='InspectOrderController/index/1'">
												<i class="icon-undo bigger-110"></i>
												返回
											</button>
										</div>
								</div>
						</div>
						
					</div>
				</div>
				<br>
			</div>
		</div>
</div>
</body>
</html>